home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 6
/
006.d81
/
elec. night star
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
2KB
|
43 lines
5 poke53281,7:poke53280,1:printchr$(144):printchr$(142)
10 printchr$(147):printchr$(14)
15 gosub500:printchr$(142)
20 print"election night"
30 print"by"
40 print"john beltrami"
50 print"1 - election process explanation"
60 print"2 - let's tabulate the votes"
62 print"3 - exit back to loadstar "
70 print"your choice: ";:poke198,0:wait198,1:gety$
80 ify$="1"thenf$="election doc":goto200
90 ify$="2"thenf$="election night":goto200
92 ify$="3"thenf$="hello":goto200
100 print"[145][145][145][145]":goto70
200 print"[147]load"chr$(34)f$chr$(34)",8":print"run"
210 poke631,13:poke632,13:poke198,2:end
500 print"[147]"
510 print" [200]ave you ever thought you might be ":print
520 print"able to predict the winner of the ":print
530 print"[208]residential elections, just like the ":print
540 print"the national newcasters do, if only you":print
550 print"had a way to keep track of all the ":print
560 print"votes?? [197][204][197][195][212][201][207][206][160][206][201][199][200][212] is what you've ":print
570 print"been waiting for!! [206]ot only will ":print
580 print"[197][204][197][195][212][201][207][206][160][206][201][199][200][212] allow you to enter the ":print
590 print"results as they are announced, state by":print
600 print"state, it will assign electoral votes ":print
610 print"according to the popular vote.":gosub5000
620 print" [201]f you're not sure what the electoral":print
630 print"college is all about, the program will ":print
640 print"explain it for you. [211]ince the electoral":print
650 print"vote assignments are accurate for each ":print
660 print"state until the next census, you can ":print
670 print"keep using this program until 1990. [217]ou":print
680 print"can even enter your own numbers to see ":print
690 print"how much popular vote it takes to swing":print
700 print"the election from one candidate to the ":print
710 print"another.":gosub5000:return
5000 poke783,peek(783)and254
5002 poke781,24:poke782,13:sys65520
5004 print"<press a key>"
5006 poke198,0:wait198,1:print"[147]":return